<html>
<body>
<h2>页面上传文件</h2>
<form action="${pageContext.request.contextPath}/upload" method="post" enctype="multipart/form-data">
    上传用户：<label><input type="text" name="username"></label> <br/>
    <input type="file" name="file1"> <br/>
    <input type="file" name="file1"> <br/>
    <input type="submit">|
    <input type="reset">
</form>
</body>
</html>
